<%@include file="/apps/cqcomponents/global.jsp"%><%
%>This taskboard [<c:out value="${c.title}"/>] displays 3 tasks headlines<br/>
<table border="1">
  <tr>
    <td><cq:include path="firstHeadline" resourceType="/apps/cqcomponents/components/headline"/></td>
    <td><cq:include path="secondHeadline" resourceType="/apps/cqcomponents/components/headline"/></td>
    <td><cq:include path="thirdHeadline" resourceType="/apps/cqcomponents/components/headline"/></td>
  </tr>
</table>

<hr/>

<table border="1">
  <tr>
    <td><c:if test="${not empty c.firstHeadline}"><c:out value="${c.firstHeadline.text}"/></c:if></td>
    <td><c:if test="${not empty c.secondHeadline}"><c:out value="${c.secondHeadline.text}"/></c:if></td>
    <td><c:if test="${not empty c.thirdHeadline}"><c:out value="${c.thirdHeadline.text}"/></c:if></td>
  </tr>
</table>